package example.rss;

import java.util.Calendar;
import java.util.Date;

public class RSSElement extends NamedElement{
	private String author;
	private Date date;
	private boolean star;
	
	public RSSElement(){
		
	}
	
	public RSSElement(String title, String author){
		setTitle(title);
		setAuthor(author);
	}
	
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date2) {
		this.date = date2;
	}
	
	public void setTitle(String title){
		super.setName(title);
	}
	
	public String getTitle(){
		return super.getName();
	}

	public void setStarred(boolean star) {
		this.star = star;
	}

	public boolean isStarred() {
		return star;
	}
	
}
